Loader for mesh data. Parses different formats to populate the data inside meshes. More...
Static Public Member Functions | |
static bool | fillBufferFromFile (Mesh *mesh, const nkMemory::StringView &pathFromData) |
static MeshLoadResult | loadMesh (const MeshLoadQuery &query) |
Loader for mesh data. Parses different formats to populate the data inside meshes.
Currently can parse obj and some glb.
|
static |
Fills a mesh's memory with the content of a file.
mesh | The mesh to fill. |
pathFromData | The path of the mesh data file, relative to the working directory. See nkResources::ResourceManager for path naming conventions. |
|
static |
Currently WIP, should not be used.